<?php
class Page extends PageBaseUpdate {

    public function InitializeComponent(){
    	parent::InitializeComponent();
		$this->ClassName = "Localidad";
		$this->LocalControls = "Descripcion";

	}

	protected function btnAceptar_OnClick(){
		if($this->IsValid){
        	$this->Save();
				$this->Back("?page=Admin.Localidad.Home");
		}
	}

    public function btnCancelar_OnClick($sender, $param){
        $this->Back("?page=Admin.Localidad.Home");
    }

}
?>